package com.linzm.behavioraltype.state08;

import com.linzm.behavioraltype.state08.state.State;

/**
 * @Author zimingl
 * @Date 2023/4/16 13:26
 * @Description: Context
 */
public class Context {
    private State state;

    public Context() {
        state = null;
    }

    public void setState(State state) {
        this.state = state;
    }

    public State getState() {
        return state;
    }
}
